package spatialmarketplace.cem.model;

/**
 *
 * @author Laura Andreina
 */
public class GroupMember extends ModelBase {

    private Integer userId;
    private String userName;
    private String photo;
    private boolean isAdmin;
    private boolean isModerator;
    private boolean linkedInIsPublic;
    private boolean profileDescriptionIsPublic;
    private boolean positionIsPublic;
    private boolean contactNumberIsPublic;
    private boolean emailIsPublic;
    private boolean nameIsPublic;
    private boolean linkedInProfile;
    private Integer groupId;
    private String rol;

    /**
     * Constructor
     */
    public GroupMember() {
    }

    /**
     * Constructor
     *
     * @param userName
     * @param photo
     * @param isAdmin
     * @param isModerator
     * @param linkedInIsPublic
     * @param profileDescriptionIsPublic
     * @param positionIsPublic
     * @param contactNumberIsPublic
     * @param emailIsPublic
     * @param nameIsPublic
     * @param linkedInProfile
     * @param groupId
     * @param rol
     */
    public GroupMember(String userName, String photo, boolean isAdmin, boolean isModerator, boolean linkedInIsPublic, boolean profileDescriptionIsPublic, boolean positionIsPublic, boolean contactNumberIsPublic, boolean emailIsPublic, boolean nameIsPublic, boolean linkedInProfile, Integer groupId, String rol) {
        this.userName = userName;
        this.photo = photo;
        this.isAdmin = isAdmin;
        this.isModerator = isModerator;
        this.linkedInIsPublic = linkedInIsPublic;
        this.profileDescriptionIsPublic = profileDescriptionIsPublic;
        this.positionIsPublic = positionIsPublic;
        this.contactNumberIsPublic = contactNumberIsPublic;
        this.emailIsPublic = emailIsPublic;
        this.nameIsPublic = nameIsPublic;
        this.linkedInProfile = linkedInProfile;
        this.groupId = groupId;
        this.rol = rol;
    }

    public GroupMember(String userName) {
        this.userName = userName;

    }

    public boolean isContactNumberIsPublic() {
        return contactNumberIsPublic;
    }

    public void setContactNumberIsPublic(boolean contactNumberIsPublic) {
        this.contactNumberIsPublic = contactNumberIsPublic;
    }

    public boolean isEmailIsPublic() {
        return emailIsPublic;
    }

    public void setEmailIsPublic(boolean emailIsPublic) {
        this.emailIsPublic = emailIsPublic;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public boolean isIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(boolean isAdmin) {
        this.isAdmin = isAdmin;
    }

    public boolean isIsModerator() {
        return isModerator;
    }

    public void setIsModerator(boolean isModerator) {
        this.isModerator = isModerator;
    }

    public boolean isLinkedInIsPublic() {
        return linkedInIsPublic;
    }

    public void setLinkedInIsPublic(boolean linkedInIsPublic) {
        this.linkedInIsPublic = linkedInIsPublic;
    }

    public boolean isLinkedInProfile() {
        return linkedInProfile;
    }

    public void setLinkedInProfile(boolean linkedInProfile) {
        this.linkedInProfile = linkedInProfile;
    }

    public boolean isNameIsPublic() {
        return nameIsPublic;
    }

    public void setNameIsPublic(boolean nameIsPublic) {
        this.nameIsPublic = nameIsPublic;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public boolean isPositionIsPublic() {
        return positionIsPublic;
    }

    public void setPositionIsPublic(boolean positionIsPublic) {
        this.positionIsPublic = positionIsPublic;
    }

    public boolean isProfileDescriptionIsPublic() {
        return profileDescriptionIsPublic;
    }

    public void setProfileDescriptionIsPublic(boolean profileDescriptionIsPublic) {
        this.profileDescriptionIsPublic = profileDescriptionIsPublic;
    }

    public String getRol() {
        return rol;
    }

    public void setRol(String rol) {
        this.rol = rol;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
